// FIXME(#64490): make this check-pass

#![feature(raw_ref_op)]

const USES_PTR: () = { let u = (); &raw const u; };         //~ ERROR not yet implemented
static ALSO_USES_PTR: () = { let u = (); &raw const u; };   //~ ERROR not yet implemented

fn main() {
    #[cfg(FALSE)]
    {
        let x: [i32; { let u = 2; let x = &raw const u; 4 }]
            = [2; { let v = 3; let y = &raw const v; 4 }];
        let mut one = 1;
        let two = 2;
        if &raw const one == &raw mut one {
            match &raw const two {
                _ => {}
            }
        }
        let three = 3;
        let mut four = 4;
        println!("{:p}", &raw const three);
        unsafe { &raw mut four; }
    }
}
